import { Component } from 'react'
import { View,Text,Image} from '@tarojs/components'
import { AtIcon} from 'taro-ui'
import "taro-ui/dist/style/components/avatar.scss";
import "taro-ui/dist/style/components/search-bar.scss";
import "taro-ui/dist/style/components/icon.scss";
import "taro-ui/dist/style/components/button.scss" // 按需引入
import './bottom.less';
import {BASEURL} from "../../constants/global";
import Taro　from '@tarojs/taro';

export default class Bottom extends Component {
  tomycollect(){
    Taro.navigateTo({url:'mycollect'})
  }
  toeffval(){
    Taro.navigateTo({url:'effval'})
  }
  totizhi(){
    Taro.navigateTo({url:'tizhi'})
  }
    render () {
      return (
        <View className="bottom">
          <View className="title">我的服务</View>
          <View className="list">

            
          <View className="list-title">
           <Image className='list-image' src={`${BASEURL}u1237.svg`} />
           <View className="vtext">
           <text className="list-text">我的收藏</text>
           </View>
           <View className='right'>
              <AtIcon value='chevron-right' size='30' color="#a9a9a9" onClick={this.tomycollect}></AtIcon>
            </View>
          </View>
         

          <View className="list-title">
           <Image className='list-image' src={`${BASEURL}u1248.svg`} />
           <View className="vtext">
           <text className="list-text">效果评价</text>
          </View>
            <View className='right'>
              <AtIcon value='chevron-right' size='30' color="#a9a9a9" onClick={this.toeffval}></AtIcon>
            </View>
          </View>

          <View className="list-title">
           <Image className='list-image' src={`${BASEURL}u1243.svg`} />
           <View className="vtext">
           <text className="list-text">体制辨识记录</text>
           </View>
           <View className='right'>
              <AtIcon value='chevron-right' size='30' color="#a9a9a9" onClick={this.totizhi}></AtIcon>
            </View>
          </View>
          </View>

        </View>
      );
    }
  }